/*
 * SilverFoxServer: massive multiplayer game server for Flash, ...
 * VERSION:3.0
 * PUBLISH DATE:2015-9-2 
 * GITHUB:github.com/wdmir/521266750_qq_com
 * UPDATES AND DOCUMENTATION AT: http://www.silverfoxserver.net
 * COPYRIGHT 2009-2015 SilverFoxServer.NET. All rights reserved.
 * MAIL:521266750@qq.com
 */
package System.IO;

import java.util.Properties;

/**
 *
 * @author ACER-FX
 */
public class Path {
    
    /* system properties to get separators */
    static final Properties PROPERTIES = new Properties(System.getProperties());
    
    /**
     * get line separator on current platform
     * @return line separator
     */
//    public static String getLineSeparator(){
//        return PROPERTIES.getProperty("line.separator");
//    }
    
    /**
     * get path separator on current platform
     * @return path separator
     */
    public static String getFilePathSeparator(){
        return PROPERTIES.getProperty("file.separator");
        //System.getProperty("file.separator")
    }
    
    public static String Combine(String path1,String path2){
        
        
        return path1 + getFilePathSeparator() + path2;
    
    }
    
}
